package com.ctshk.rpc.train.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.TreeMap;

/**
 * <p>
 * 火车产品信息dto
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-11
 */
@Data
@ApiModel(value="TrainProductDetailDTO对象", description="火车产品信息dto")
public class TrainProductDetailDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "火车产品id")
    private Long id;

    @ApiModelProperty(value = "铁路公司名称")
    private String railwayCorporationName;


    @ApiModelProperty(value = "车次类型名称")
    private String typeName;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime terminusTime;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime departureTime;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @ApiModelProperty(value = "席位等级名称")
    private String seatLevelName;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "适用人群")
    private Long intendedFor;

    @ApiModelProperty(value = "负责人姓名")
    private String chargePersonName;

    @ApiModelProperty(value = "打包状态")
    private Integer packStatus;

    @ApiModelProperty(value = "开售开始时间")
    private LocalDate saleBeginDate;

    @ApiModelProperty(value = "开售结束时间")
    private LocalDate saleEndDate;

    @ApiModelProperty(value = "是否二次确认")
    private Integer isConfirm;

    @ApiModelProperty(value = "预订须知")
    private String bookingInformation;

    @ApiModelProperty(value = "退改设置")
    private Integer changeSettings;

    @ApiModelProperty(value = "服务费")
    private BigDecimal serviceChargePrice;

    @ApiModelProperty(value = "退改手续费")
    private BigDecimal refundFeePrice;

    @ApiModelProperty("加幅策略每日规则列表")
    private TreeMap<LocalDate, List<TrainProductIncreaseStrategyRuleDTO>> dateRuleInfoMap;

}
